.side-bar {
  width: 230px;
  flex: 0 0 230px;
  .blog-name {
    background-color: #000;
    color: #fff;
    font-size: 25px;
    padding: 15px 0;
    small {
      color: #fff;
      padding: 0 5px;
      font-size: 12px;
      cursor: pointer;
      &:hover {
        text-decoration: underline;
      }
    }
  }
  .menu {
    padding: 20px 0;
    background-color: #fff;
    li {
      padding: 0 15px;
      height: 35px;
      line-height: 35px;
      cursor: pointer;
      color: #666;
      transition: all .3s;
      span {
        padding-left: 5px;
      }
      &:hover {
        color: #333;
        background-color: #eee;
      }
    }
  }
  .search {
    display: flex;
    margin-top: 10px;
    background-color: #fff;
    padding: 15px;
    input {
      transition: all .3s;
      &:focus + button {
        border-color: #333;
        color: #333;
      }
    }
    button {
      transition: all .3s;
      border-left: none;
      white-space: nowrap;
      color: #999;
    }
  }
  .user-info {
    margin-top: 10px;
    background-color: #fff;
    padding: 20px 0;
    .img {
      width: 90px;
      height: 90px;
      margin: 0 auto;
      padding: 3px;
      border: 1px solid #eee;
      overflow: hidden;
      border-radius: 50%;
      img {
        border-radius: 50%;
        width: 100%;
      }
    }
    .name {
      font-size: 12px;
      margin: 5px 0;
      font-weight: 700;
    }
    .summary {
      font-size: 12px;
      color: #999;
      text-align: center;
      padding: 0 15px;
    }
  }
  .column {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 20px 15px;
    li {
      flex: 1;
      text-align: center;
      border-right: 1px solid #eee;
      color: #666;
      cursor: pointer;
      &:hover {
        .num {
          color: #333;
        }
      }
      &:last-of-type{
        border: none;
      }
      .num {
        transition: all .3s;
        color: inherit;
        font-weight: 600;
        font-size: 16px;
      }
      .title {
        font-size: 12px;
      }
    }
  }
  .friend-link {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 20px;
    border-top: 1px solid #eee;
    a {
      display: block;
      flex: 0 0 50%;
      transition: all .3s;
      font-size: 12px;
      color: #666;
      padding: 2px 10px;
      cursor: pointer;
      border-radius: 3px;
      text-align: center;
      &:hover {
        color: #333;
        background-color: #f5f5f5;
        .icon-juejin {
          color: #007fff;
        }
      }
      i {
        font-size: 13px;
        margin-right: 5px;
      }
    }
  }
  &.mobile{

  }
  @media (max-width: 768px) {
    display: none;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background-color: #f5f7f9;
    z-index: 100;
    &.mobile{
      display: block;
    }
  }

}
.side-bar-toggle{
  position: fixed !important;
  bottom: 10px;
  left: 10px;
  z-index: 100;
  width: 40px;
  height: 40px;
  display: none;
  overflow: hidden;
  i{
    font-size: 32px;
    color: #fff;
  }
  .icon-cuowu{
    font-size: 23px;
  }
  &:hover{
    i{
      color: #fff !important;
    }
  }
  @media (max-width: 768px){
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
